<?php
/*
 * @Author: CHINAKAIYUAN<sunkaiyuan@namenode.cn>
 * @Date: 2022-02-18 22:33:04
 * @LastEditTime: 2023-07-08 12:35:28
 * @LastEditors: 孙开源 && sunkaiyuan@namenode.cn
 * @Description: 
 */

namespace App\Models;

class LoomDetails extends BaseModel
    {
    //
    public $table = "basedata_loom_details";
    protected $guarded = [];
    public function category()
        {
        return $this->belongsTo(MaterialCategory::class);
        }
    public function loom()
        {
        return $this->belongsTo(Loom::class, "main_id");
        }

    }